package com.cyx.mapper;

import com.cyx.pojo.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleMapper {
    List<Article> getArticleListByAuthor(@Param("authorId") int authorId);
    int updateArticle(@Param("id") int id,@Param("name") String name,@Param("authorId") int authorId);
    List<Article> queryArticleByIdRanges(@Param("ids") List<Integer> ids);
}
